package com.zhuangjie.shop.helper;

import com.zhuangjie.security.provider.UserProvider;

/**
 * 商店登录信息提供者
 *
 * @author zhuangjie
 * @date 2023/10/08
 */
public class ShopModuleTokenDataProvider extends UserProvider {
    /**
     * 商店id密钥
     * 在登录时需要向tokenData中设置
     */
    public static final String shopIdKey = "shopId";

    public static Long getShopId() {
        return getAttribute(shopIdKey,Long.class);
    }



}
